package com.atguigu.edusugar.service;

import com.atguigu.edusugar.bean.exam;
import com.atguigu.edusugar.mapper.TrafficMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class TrafficServiceImp implements TrafficService{
    @Autowired
    TrafficMapper trafficMapper;

    @Override
    public List<exam> exam(int date) {
        return trafficMapper.exam(date);
    }
}
